package ooday02;

public class Doctor extends Teacher{
    String title;

    Doctor(String name, int age, String address, String calssName, String stuId, double salary,String title) {
        super(name, age, address, calssName, stuId, salary);
        this.title=title;
    }


    void cut(){
        System.out.println(name+"正在做手术");
    }
}
